// @description 历史数据展示
// @author yurui
// @createDate 2023.7.15
// @version v1.0.0
import { defHttp } from '/@/utils/http/axios';
import { ApiCommon } from '../common'

const { CUSTOMER_ADMIN_API } = ApiCommon;

enum Api {
    //业务综合办理-换表记录分类
    GET_HISTORY_METER_CHANGEPAGE = '/integrated-business/approval/getHistoryMeterchangePage',
    //业务综合办理-预收款记录分类
    GET_HISTORY_PREDEPOSIT_PAGE = '/integrated-business/approval/getHistoryPredepositPage',
    //业务综合办理-用户档案更改履历分页
    GET_HISTORY_USER_INFO_CHANGE_PAGE = '/integrated-business/approval/getHistoryUserinfochangePage',
    //业务综合办理-历史信息查询
    GET_HISTORY_SHORT_MESSAGE_PAGE  = '/integrated-business/approval/getHistoryShortmessagePage'
}

/**
 * @description: 请求的API地址
 */

//业务综合办理-换表记录分类
export const getHistoryMeterchangePageApi = (params:object) => defHttp.post({ url: CUSTOMER_ADMIN_API + Api.GET_HISTORY_METER_CHANGEPAGE, params});
//业务综合办理-预收款记录分类
export const getHistoryPredepositPageApi = (params:object) => defHttp.post({ url: CUSTOMER_ADMIN_API + Api.GET_HISTORY_PREDEPOSIT_PAGE, params });
//业务综合办理-用户档案更改履历分页
export const getHistoryUserinfochangePageApi = (params:object) => defHttp.post({ url: CUSTOMER_ADMIN_API + Api.GET_HISTORY_USER_INFO_CHANGE_PAGE, params });
//业务综合办理-历史信息查询
export const getHistoryShortmessagePageeApi = (params:object) => defHttp.post({ url: CUSTOMER_ADMIN_API + Api.GET_HISTORY_SHORT_MESSAGE_PAGE, params });













